package com.bjpowernode.constant;

public class Constants {
    public static final Integer SUCCESS = 0;
    public static final Integer ERROR = -1;
    public static final String LOGIN_USER = "login_user";
    public static final String REDIS_GOODS = "redis:goods:";
    public static final String REDIS_STORE = "redis:store:";
    public static final String REDIS_HOLD = "redis:hold:";
    public static final String REDIS_RESULT = "redis:result:";
    public static final int MAX_LIMIT = 1000;
    public static final String EXCHANGE_NAME_ORDER = "exchange.seckill.order";
    public static final String QUEUE_NAME_ORDER = "queue.seckill.order";
    public static final String ROUTING_KEY_ORDER = "seckill.order";
    public static final String EXCHANGE_DELAY_NAME = "exchange.order.delay";
    public static final String QUEUE_DELAY_NAME = "queue.order.delay";
    public static final String ROUTING_KEY_DELAY_NAME = "order.delay";
    public static final int DELAY_TIME = 40 * 1000;
}